package com.wunu.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.wunu.entity.Lock;

import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wunu kin
 * @since 2021-03-25
 */
public interface LockMapper extends BaseMapper<Lock> {


    //等同于编写一个普通 list 查询，mybatis-plus 自动替你分页
    List<Lock> selectLocksByUserNoPage(Page<Lock> page, @Param("name") String name , @Param("userNo")String userNo);
	   
}
